﻿#if UNITY_EDITOR
using System;
using UnityEngine;
/// <summary>
/// 工程菜单属性
/// </summary>
[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
public class ESF_ProjectSettingMenuItemAttribute : PropertyAttribute
{
    /// <summary>
    /// 构造函数
    /// </summary>
    /// <param name="_menuName">菜单名称</param>
    /// <param name="_menuDesc">菜单说明</param>
    public ESF_ProjectSettingMenuItemAttribute(string _menuName,string _menuDesc)
    {
        menuName = _menuName;
        menuDesc = _menuDesc;
    }
    /// <summary>
    /// 菜单名称
    /// </summary>
    public string menuName { get; private set; }
    /// <summary>
    /// 菜单说明
    /// </summary>
    public string menuDesc { get; private set; }
}
#endif
